﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNetNeural.Perceptron.Initialization
{
    public class ConstInitializer : IWeightsInitializer
    {
        public float WeightsValue { get; set; }

        public ConstInitializer(float weightsValue)
        {
            WeightsValue = weightsValue;
        }

        #region IWeightsInitializer Members

        public float GenerateValue()
        {
            return WeightsValue;
        }

        #endregion
    }
}
